package com.ssx.service;

import com.ssx.entity.Customer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ssx.entity.Customervisit;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author ssx
 * @since 2020-10-24
 */
public interface ICustomerService extends IService<Customer> {
    public int delOneCus(int id, int empid);

    List<Customer> listFromEmp(int start, int pagesize, String search, int empid);

    int countFromEmp(String search, int empid);

    List<Customer> listFromManger(int start, int pagesize, String search);

    int countFromManger(String search);

    Customer showOneCus(int id);


}
